home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / fileutil / fileutils-3.16.tar.gz / fileutils-3.16.tar / fileutils-3.16 / Makefile.am < prev    next >
Makefile  |  1996-12-27  |  1KB  |  38 lines

  1. ## Process this file with automake to produce Makefile.in
  2. AUTOMAKE_OPTIONS = gnits 1.1k
  3.  
  4. SUBDIRS = lib intl src doc man m4 po
  5.  
  6. maintainer-check:
  7.  
  8. # Tag before making distribution.  Also, don't make a distribution if
  9. # checks fail.  Also, make sure the NEWS file is up-to-date.
  10. cvs-dist: maintainer-check
  11.     pkg=`echo "@PACKAGE@" | tr a-z A-Z`; \
  12.     ver=`echo "@VERSION@" | sed 's/\./_/g'`; \
  13.     tag="$$pkg-$$ver"; \
  14.     echo tag=$$tag; \
  15.     if cvs -n log -h README| grep -e $$tag > /dev/null; then \
  16.       echo "VERSION not new; not releasing" 1>&2; \
  17.       exit 1; \
  18.     else :; \
  19.     fi; \
  20.     cvs tag -c $$tag
  21.     $(MAKE) dist
  22.  
  23. acdir = m4
  24. @MAINT@aclocal-files: configure.in
  25. @MAINT@    echo 'acfiles = \' > $@-tmp
  26. @MAINT@    find $(acdir) -type f -name '*.m4' -print        \
  27. @MAINT@      | sed 's!^!$(top_srcdir)/!'                \
  28. @MAINT@      | tr '\012' ' '                    \
  29. @MAINT@      >> $@-tmp
  30. @MAINT@    echo >> $@-tmp
  31. @MAINT@    mv $@-tmp $@
  32.  
  33. @MAINT@include aclocal-files
  34.  
  35. @MAINT@# Override default rule to use --acdir option
  36. @MAINT@$(srcdir)/aclocal.m4: configure.in $(acfiles)
  37. @MAINT@    cd $(srcdir) && aclocal --acdir=$(acdir)
  38.